﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MethodWorx.CMS.Administration
{
    public class ApplicationTypeFactory
    {
        public static ApplicationTypeFactory Instance { get; private set; }

        static ApplicationTypeFactory()
        {
            Instance = new ApplicationTypeFactory();
        }

        private ApplicationTypeFactory()
        {
        }

        public IEnumerable<ApplicationType> GetApplicationTypes()
        {
            yield return new HostedApplicationType();
            yield return new MvcApplicationType();
            yield return new WebFormsApplicationType();
        }
    }
}
